package com.example.pufang.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("房屋详情Vo")
public class HouseFrontDetailVo {

    @ApiModelProperty(value = "房屋id")
    private String id;

    @ApiModelProperty(value = "发布人id")
    private Integer userId;

    @ApiModelProperty(value = "发布人名称")
    private String username;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介")
    private String introduce;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "租金或售价")
    private BigDecimal price;

    @ApiModelProperty(value = "房间数量")
    private Integer room;

    @ApiModelProperty(value = "客厅数量")
    private Integer parlor;

    @ApiModelProperty(value = "厕所数量")
    private Integer lavatory;

    @ApiModelProperty(value = "房屋图片url，以Json格式保存，最多九张")
    private String pic;

    @ApiModelProperty(value = "所在区")
    private String district;

    @ApiModelProperty(value = "房屋类型：0出租，1出售")
    private Integer type;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "是否展示")
    private Boolean isDisplay;

    @ApiModelProperty(value = "是否下架")
    private Boolean isBan;

    @ApiModelProperty(value = "是否售出/出租：0未售出/未出租，1已售出/已出租")
    private Boolean isSold;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "是否收藏")
    private Boolean isCollect;

}
